<!--  -->
<template>
  <div>
      <div class="loder">
        <div class="zhoumo">
          <span>周末去哪儿</span>
        </div>
        <ul>
          <li v-for="(item, index) in vacationList" :key="index" @click="toArticle(item.imgUrl,item.title)">
            <img :src="item.imgUrl" alt="">
            <div class="text">
              <p class="p1">{{item.title}}</p>
              <p class="p2">{{item.msg}}</p>
            </div>
          </li>
        </ul>
        <p class="hun"></p>
        <div class="piaojia">
          <span>票面价</span>是指通过景区指定窗口售卖的纸质门票上标注的价格
        </div>
      </div>
  </div>
</template>

<script>
export default {
  props:[
    "vacationList",
  ],
  data () {
    return {
    };
  },
  methods:{
    toArticle(item,itemtext){
      this.$router.push({path:"/article",query:{text:item,concat:itemtext}})
    }
  }
}

</script>
<style scoped=""  lang="scss" type="text/css">
.piaojia{
  width: 100%;
  height: 1.0666666rem;
  line-height: 1.0666666rem;
  font-size: 0.32rem;
  color: #616161;
  span{
    margin-left: 0.266666666rem;

  }
}
.hun{
  width: 100%;
  height: 0.166666rem;
  background: #f6f3f3;
}
.loder{
  width: 100%;
  height: auto;
  .zhoumo{
    width: 100%;
    height: 1.06666666rem;
    line-height:  1.06666666rem;
    background: #f6f3f3;
    span{
      margin-left: 0.2666666rem;
      font-size: 0.42rem;
    }
  }
  ul{
    width: 100%;
    li{
      width: 100%;
      img{
        width: 100%;
        height: 141px;
      }
      .text{
        padding: 0.26666rem 0;
        .p1{
          font-size: 0.32rem;
          height: 0.64rem;
          line-height: 0.64rem;
          margin-left: 0.266666rem;
          color: #212121;
        }
        .p2{
          font-size: 0.32rem;
          height: 0.64rem;
          line-height: 0.64rem;
          margin-left: 0.266666rem;
          color: #616161;
        }
      }
    }

  }
}
</style>